package request

import (
	"github.com/golang-jwt/jwt/v4"
	"time"
)

type BaseClaims struct {
	//UUID        uuid.UUID
	//ID          uint
	//Username    string
	//NickName    string
	//AuthorityId string
	UserId     uint //对应用户id
	CreateAt   time.Time
	Permission string //权限
}

// MyClaims jwt参数
type MyClaims struct {
	BaseClaims
	jwt.RegisteredClaims //jwt所需参数
}
